package com.three.controller;

import com.baor.baseUtil.R;
import com.three.domain.Users;
import com.three.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TeacherController {
    @Autowired
    private TeacherService teacherService;
    @RequestMapping(value = "/updateTeacher")
    public R updateTeacher(@RequestBody Users users)
    {
        return teacherService.updateTeacher(users);
    }
}
